.todo-main li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.todo-main li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.todo-main li:hover .btn-danger {
    display: block;
}

.todo-main li {
    background: var(--item-bg);
    backdrop-filter: blur(2px);
    /* 添加毛玻璃效果 */
    border: 1px solid rgba(224, 224, 224, 0.3);
}

/* 文字颜色调整 */
.todo-main span {
    color: #455a64;
    /* 柔和的深蓝灰色 */
}

/* 新增渐变过渡效果 */
.todo-main li {
    transition: background 0.4s ease-in-out;
}